﻿using RedmineToolBar.Redmine.Downloader;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RedmineToolBar.Redmine.Configuration
{
    public interface IRedmineConfiguration
    {

        bool ConfigurationSheetExist();
        void SaveNewConfiguration(RedmineConfiguration config);
        void Save();
        RedmineConfiguration GetRedmineCongfiguration();
        RedmineDownloader GetDownloader();
        bool isWorkbookConnected();
        bool isQuerySelected();
        bool Disconnect();

  
        IRedmineConfiguration SetURL(string URL);
        IRedmineConfiguration SetUser(string user);
        IRedmineConfiguration SetPwd(string pwd);
        IRedmineConfiguration SetQuery(string id, string name, string projectID);
        IRedmineConfiguration SetExcludeDescription(bool value);
        IRedmineConfiguration SetLastUpdate(DateTime value);


    }
}
